﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IDal
{
    public class Product
    {
        public string Name { get; set; }
        public bool IsDelete { get; set; }

        public List<Product> GetActiveProducts(IQueryable<Product> query)
        {
            
            return query.WhereNotDeleted().ToList();
        }
    }
}
